/* Loading... */
var queue = new createjs.LoadQueue();

queue.on("progress", function(e) {
	// console.log(e.progress);
	$('#loadBegin').text(""+parseInt(e.progress * 100) + '%');
	$(".load-color").css({"left":"" + (-100+parseInt(e.progress * 100))+ "%"});
	
}, this);
	
queue.on("complete", function(e) {
	init();
	console.log("complete callback");
});
queue.loadManifest([
	//需要加载的资源的所有资源
	"img/p1_bg.png",
]);
